package com.blog.backend.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author fanggs
 * @Date 2021/7/14 0014 10:03
 */
@Setter
@Getter
public class InsertPlateReq {

    @ApiModelProperty(value = "板块名称",readOnly = true)
    @NotBlank(message = "板块名称必须输入")
    private String plateName;

    @ApiModelProperty(value = "板块描述",required = true)
    @NotBlank(message = "板块描述不能为空")
    private String plateDescription;

    private Integer type;
}
